package model.response

import org.simpleframework.xml.{Element, Root}

import scala.beans.BeanProperty

@Root(name = "xml", strict = false)
class WXSignkeyResponse {
  
  @Element(name = "return_code") 
  @BeanProperty var returnCode:String = _

  @Element(name = "return_msg", required = false) 
  @BeanProperty var returnMsg:String = _

  /** 以下字段在return_code为SUCCESS的时候有返回. */
  @Element(name = "mch_id", required = false) 
  @BeanProperty var mchId:String = _

  @Element(name = "sandbox_signkey", required = false) 
  @BeanProperty var sandboxSignkey:String = _
}
